package com.qqtop10.manager.service;

import java.util.List;
import java.util.Map;

import com.qqtop10.manager.model.Category;
import com.qqtop10.manager.model.PagingArgs;
import com.qqtop10.manager.model.temp.BuildIndexCategoryTemp;

public interface CategoryService {
	List<Category> all(Category input, PagingArgs pagingArgs);

	int count(Category input);

	boolean update(Category input);

	boolean add(Category input);

	boolean delete(Category input);

	Category get(Category input);

	List<Category> selectAll();

	List<Category> selectByIntCategoryUuid(String intCategoryUuid);

	List<Category> selectOneCategory();
	
	int updateCategoryIcon(Map<String, Object> map);
	
	Category selectByUuid(String uuid);
	
	List<BuildIndexCategoryTemp> buildIndexGetCategory();
}